package com.etoak.service;

import com.etoak.entity.KnowledgeProposal;

import java.util.List;

/**
 * @Author zhixuebin
 * @Date 2022/5/13
 */
public interface IKnowledgeProposalService {

    int addProposal(KnowledgeProposal knowledgeProposal);

    List<KnowledgeProposal> getProposalList(KnowledgeProposal knowledgeProposal);

    KnowledgeProposal getProposalById(String id);

    int approve(KnowledgeProposal knowledgeProposal);

    int updateProposal(KnowledgeProposal proposal);

}
